package com.zxm.ssm.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ZXM
 * @ClassName Product
 * @Description TODO
 * @date 2021/7/18 17:13
 */
@Data
public class Product implements Serializable {
    private int id;
    private String name;
    private String intro;
    private double price;
    private int count;
    private String picture;
    private int number;
    private String address;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
}

